.yg_detail {
    background-color: white;
    height: 100vh;

    .yg_detail_nav {
        background-color: var(--themeColor);
        color: white;

        .am-navbar-title {
            color: white;
        }
    }

    .yg_swiper {
        >div {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    }

    .yg-detail-price {
        height: 0.8rem;
        width: 100%;
        padding: 0.106667rem;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .price-left {
            .title1 {
                color: var(--themeColor);
                font-size: 0.533333rem;
            }
        }

        .price-right {
            display: flex;
            align-items: center;

            i.iconfont.icon-fenxiang {
                margin-right: 0.213333rem;
            }

            i.iconfont.icon-shoucang {
                margin-right: 0.213333rem;
            }

            .active {
                color: red
            }
        }
    }

    .yg-detail-title {
        height: 1.066667rem;
        padding: 0.053333rem 0.266667rem;
        font-size: 0.426667rem;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .yg-detail-richtext {
        margin-bottom: 1.333333rem;

        .richtext-title {
            text-align: center;
            height: 0.8rem;
            line-height: 0.8rem;
        }

        .richtext-content {}
    }

    .yg-detail-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        background-color: #fff;
        height: 1.333333rem;

        .bottom-contact {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .iconfont.icon-lianxikefu {}

            .title {}
        }

        .bottom-cart {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .iconfont.icon-gouwuche {}

            .title {}
        }

        .bottom-addToCart {
            flex: 2;
            display: flex;
            align-items: center;
            justify-content: center;

            .title1 {
                border-radius: 0.533333rem;
                height: 0.8rem;
                text-align: center;
                line-height: 0.8rem;
                width: 2.133333rem;
                background-color: #fcaa23;
                color: white;
            }
        }

        .bottom-buy {
            flex: 2;
            display: flex;
            align-items: center;
            justify-content: center;

            .title2 {
                border-radius: 0.533333rem;
                height: 0.8rem;
                text-align: center;
                line-height: 0.8rem;
                width: 2.133333rem;
                background-color: var(--themeColor);
                color: white;
            }
        }
    }

}